
<div class="depot-form" align="center">
  <fieldset>
    <legend>请登陆</legend>

    <% form_tag do %>
      <p>
        <label for="name">用户</label> <%= text_field_tag :name, params[:name], :size => 18 %>
      </p>

      <p>
        <label for="password">密码</label> <%= password_field_tag :password, params[:password] %>
      </p>
  
      <p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        <%= submit_tag "登录" %>&nbsp;&nbsp<input type="reset" value="重置"></input>
      </p>
    <% end %>
  </fieldset>
</div>
